let material = [
    {
        path: '/adminapi/Material/materialList',
        name: '视频库',
        meta: {
            crumbArr:['视频库'],
            current:'/adminapi/Material/materialList',
        },
        component: resolve => (require(["@/components/material/MtVideoList"], resolve))
    },
    {
        path: '/adminapi/Materialv2/materialList',
        name: '视频库',
        meta: {
            crumbArr:['视频库'],
            current:'/adminapi/Materialv2/materialList',
        },
        component: resolve => (require(["@/views/material/MtVideoList"], resolve)),
    },
    {
        path: '/adminapi/Material/pictureList',
        name: '图片库',
        meta: {
            crumbArr:['图片库'],
            current:'/adminapi/Material/pictureList',
        },
        component: resolve => (require(["@/components/material/MtPictureList"], resolve))
    },
    {
        path: '/adminapi/Materialv2/pictureList',
        name: '图片库',
        meta: {
            crumbArr:['图片库'],
            current:'/adminapi/Materialv2/pictureList',
        },
        component: resolve => (require(["@/views/material/MtPictureList"], resolve))
    },
    {
        path: '/adminapi/Materialfj/materialList',
        name: '分镜库',
        meta: {
            crumbArr:['分镜库'],
            current:'/adminapi/Materialfj/materialList',
        },
        component: resolve => (require(["@/components/material/Storyboard"], resolve))
    },
    {
        path: '/loadtask',
        name: '任务中心',
        meta: {
            crumbArr:['任务中心'],
            current:'/adminapi/Material/materialList',
        },
        component: resolve => (require(["@/components/material/LoadTask"], resolve))
    },
    {
        path: '/adminapi/Material/dataList',
        name: '数据统计',
        redirect: '/videocount',
        component: resolve => (require(["@/components/material/VideoMain"], resolve)),
        children:[
            {
                path: '/videocount',
                name: '人员消耗',
                meta: {
                    crumbArr:['人员消耗'],
                    current:'/adminapi/Material/dataList',
                },
                component: resolve => (require(["@/components/material/VideoCount"], resolve))
            },
            {
                path: '/projectcount',
                name: '项目消耗',
                meta: {
                    crumbArr:['项目消耗'],
                    current:'/adminapi/Material/dataList',
                },
                component: resolve => (require(["@/components/material/ProjectCount"], resolve))
            },
        ]
    },
    {
        path: '/adminapi/Materialv2/dataList',
        name: '数据统计',
        redirect: '/videocountv2',
        component: resolve => (require(["@/views/material/VideoMain"], resolve)),
        children:[
            {
                path: '/videocountv2',
                name: '人员消耗',
                meta: {
                    crumbArr:['人员消耗'],
                    current:'/adminapi/Materialv2/dataList',
                },
                component: resolve => (require(["@/views/material/VideoCount"], resolve))
            },
            {
                path: '/projectcountv2',
                name: '项目消耗',
                meta: {
                    crumbArr:['项目消耗'],
                    current:'/adminapi/Materialv2/dataList',
                },
                component: resolve => (require(["@/views/material/ProjectCount"], resolve))
            },
        ]
    },
    {
        path: '/projectdetailsv2',
        name: '消耗详情',
        meta: {
            crumbArr:['项目消耗','消耗详情'],
            current:'/adminapi/Materialv2/dataList',
        },
        component: resolve => (require(["@/views/material/ProjectDetails"], resolve))
    },
    {
        path: '/VideoDetailsv2',
        name: '项目详情',
        meta: {
            crumbArr:['项目详情'],
            current:'/adminapi/Materialv2/dataList',
        },
        component: resolve => (require(["@/views/material/VideoDetails"], resolve))
    },
    {
        path: '/projectdetails',
        name: '消耗详情',
        meta: {
            crumbArr:['项目消耗','消耗详情'],
            current:'/adminapi/Material/dataList',
        },
        component: resolve => (require(["@/components/material/ProjectDetails"], resolve))
    },
    {
        path: '/VideoDetails',
        name: '项目详情',
        meta: {
            crumbArr:['项目详情'],
            current:'/adminapi/Material/dataList',
        },
        component: resolve => (require(["@/components/material/VideoDetails"], resolve))
    },
    {
        path: '/adminapi/Material/materialTallList',
        name: '素材创意',
        redirect: '/hightlist',
        component: resolve => (require(["@/components/material/SourceMain"], resolve)),
        children:[
            {
                path: '/hightlist',
                name: '高成本素材',
                meta: {
                    crumbArr:['高成本素材'],
                    current:'/adminapi/Material/materialTallList',
                },
                component: resolve => (require(["@/components/material/HightList"], resolve))
            },
            {
                path: '/lowlist',
                name: '掉量素材',
                meta: {
                    crumbArr:['掉量素材'],
                    current:'/adminapi/Material/materialTallList',
                },
                component: resolve => (require(["@/components/material/LowList"], resolve))
            },
        ]
    },
    {
        path: '/adminapi/Material/discernList',
        name: '素材文本提取',
        meta: {
            crumbArr:['素材文本提取'],
            current:'/adminapi/Material/discernList',
        },
        component: resolve => (require(["@/components/material/DiscernList"], resolve))
    }
]

export default material
